package study.school;

import lombok.Data;

@Data
public class Student {

    public String name;
    public int age;

    public Student() {
        this.name = "张三";
        this.age = 18;
    }

    public void sayHello() {
        System.out.println("Hello, I'm a student.");
    }
}
